package yl.hs.bmipfull.viewmodels;

/**
 * @author 谢景广
 * @category 用户登录信息
 */
public class LoginUser {
    private String userSN;
    private String account;
    private String userName;
    private String companySN;
    private String organizationCode;
    private String imageSN;
    private String useLanguage;
    private String theme;
    private String mobileNum;
    private String nickName;
    private String[] roleSN;
    private String dutySN;
    private String dutyName;
    private String companyName;
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUserSN() {
        return userSN;
    }

    public  boolean isAdmin(){
        return this.account.equals("admin");
    }

    public void setUserSN(String userSN) {
        this.userSN = userSN;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCompanySN() {
        return companySN;
    }

    public void setCompanySN(String companySN) {
        this.companySN = companySN;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getImageSN() {
        return imageSN;
    }

    public void setImageSN(String imageSN) {
        this.imageSN = imageSN;
    }

    public String getUseLanguage() {
        return useLanguage;
    }

    public void setUseLanguage(String useLanguage) {
        this.useLanguage = useLanguage;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getMobileNum() {
        return mobileNum;
    }

    public void setMobileNum(String mobileNum) {
        this.mobileNum = mobileNum;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String[] getRoleSN() {
        return roleSN;
    }

    public void setRoleSN(String[] roleSN) {
        this.roleSN = roleSN;
    }

    public String getDutySN() {
        return dutySN;
    }

    public void setDutySN(String dutySN) {
        this.dutySN = dutySN;
    }

    public String getDutyName() {
        return dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}
